package com.qf.collection.generic;

public class Printer02<T,K> {

    private T t;

    private K k;

    public Printer02() {
    }

    public Printer02(T t, K k) {
        this.t = t;
        this.k = k;
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public K getK() {
        return k;
    }

    public void setK(K k) {
        this.k = k;
    }

    public void printT(){
        System.out.println(t);
    }

    public void printK(){
        System.out.println(k);
    }

    public static <E> void printInfo(E e){
        System.out.println(e);
    }


}
